<?php

namespace app\admin\validate;
use think\Validate;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/2/28
 * Time: 21:57
 */
class Member extends Validate
{
    protected $rule = [
        'name'  => 'require|min:2',
        'email'   => 'require|email',
        'status' => 'require|number|between:0,1',
    ];
}